@charset "UTF-8";
::-webkit-scrollbar {
  /*滚动条整体样式*/
  width: 5px;
  /*高宽分别对应横竖滚动条的尺寸*/
  height: 1px;
}

::-webkit-scrollbar-thumb {
  /*滚动条里面小方块*/
  border-radius: 10px;
  background-color: #6c6e7a;
}

::-webkit-scrollbar-track {
  /*滚动条里面轨道*/
  box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2);
  border-radius: 10px;
  background: #ededed;
}

p {
  padding: 0;
  margin: 0;
}

a {
  text-decoration: none;
  color: #0969da;
}

a:hover {
  text-decoration: underline;
}

ul {
  padding: 0;
}

li {
  list-style: none;
}

.svg-icon {
  position: relative;
  top: 8px;
  width: 30px;
  height: 30px;
}

.tiny-icon {
  position: relative;
  top: 5px;
  height: 20px;
}

#article-title {
  text-align: center;
  font-weight: 400;
  margin: 15px 0;
}

.container {
  width: 1312px;
  margin: 0 auto;
}

.head-content {
  box-shadow: 0 1px 5px rgba(27, 31, 35, 0.15), 0 0 1px rgba(106, 115, 125, 0.35);
  background-image: url(../img/headbg.png);
  background-size: 100% 100%;
  border-radius: 10px 10px 0 0;
  display: flex;
  width: 100%;
  height: 200px;
}

.head-content .person-card {
  margin-left: 20px;
  width: 400px;
  display: flex;
}

.head-content .person-card #avatar {
  height: 150px;
  border-radius: 50%;
  border: gray solid 5px;
  align-self: center;
}

.head-content .person-card #avatar img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
}

.head-content .person-card #card-info {
  flex: 1;
  margin-left: 25px;
}

.head-content .person-card #card-info #nickname {
  color: white;
  font-weight: bold;
  margin: 25px 0;
  font-size: 32px;
}

.head-content .person-card #card-info #signature {
  margin-left: -5px;
  margin-top: -10px;
  padding: 10px;
  font-size: 18px;
  background-color: rgba(246, 248, 250, 0.7);
  color: #6c6e7a;
  border-radius: 10px;
  width: 180px;
}

#music-player {
  height: 150px;
  width: 200px;
  background-color: white;
  align-self: center;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 1px 5px rgba(27, 31, 35, 0.15), 0 0 1px rgba(106, 115, 125, 0.35);
}

#music-player #music-player-title {
  border-radius: 10px 10px 0 0;
  padding: 8px;
  text-align: center;
  background-color: #4ba946;
  color: white;
}

#music-player #music-player-title svg {
  width: 20px;
  height: 20px;
  position: relative;
  top: 5px;
  left: 2px;
}

#music-player #music-song {
  height: 40px;
  background-color: #f6f8fa;
  border-radius: 10px;
  width: 90%;
  margin: 5px auto;
  flex: 1;
}

#music-player #music-song #current-play-tip {
  margin-top: 3px;
  text-align: center;
  color: #6c6e7a;
}

#music-player #music-song #current-play {
  margin-top: 5px;
  padding: 0 5px;
}

#music-player #control-panal {
  width: 150px;
  height: 35px;
  margin: 5px auto;
  display: flex;
  justify-content: space-evenly;
  align-items: center;
}

#music-player #control-panal .btn-div {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  text-align: center;
  background-color: #dfdfdf;
  box-shadow: 0 1px 5px rgba(27, 31, 35, 0.15), 0 0 1px rgba(106, 115, 125, 0.35);
}

#music-player #control-panal .btn-div:hover {
  background-color: #cfcfcf;
}

#music-player #control-panal .btn-div:active {
  background-color: #adadad;
}

#music-player #control-panal .btn-div svg {
  width: 20px;
  height: 20px;
  position: relative;
  top: 5px;
}

#music-player #control-panal .btn-div svg#play {
  left: 2px;
}

.person-info-container {
  box-shadow: 0 1px 5px rgba(27, 31, 35, 0.15), 0 0 1px rgba(106, 115, 125, 0.35);
  padding: 15px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  border-radius: 0 0 10px 10px;
}

.person-info-container .info-card {
  padding: 15px;
  border-radius: 10px;
  box-shadow: 0 1px 5px rgba(27, 31, 35, 0.15), 0 0 1px rgba(106, 115, 125, 0.35);
}

.person-info-container .info-card .info-title {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 10px;
}

.person-info-container .info-card .info-content .key-value {
  display: flex;
  align-items: flex-end;
  margin-bottom: 2px;
}

.person-info-container .info-card .info-content .key-value .key {
  width: 80px;
  margin-right: 5px;
}

.person-info-container .info-card .info-content .key-value .key .key-text {
  display: inline-block;
  padding: 1px 3px;
  color: white;
  border-radius: 5px;
}

.person-info-container .info-card .info-content .key-value .key.wide-key {
  width: 100px;
}

.person-info-container .info-card .info-content .key-value .value {
  color: #6c6e7a;
  font-weight: bold;
}

#profile {
  grid-column: 1 / 3;
}

#it-content {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-areas: 'a b' 'c b';
  gap: 10px;
}

#it-content #front-end {
  background-color: #5192f9;
  padding: 10px;
  border-radius: 10px;
  color: white;
}

#it-content #front-end li {
  line-height: 1.5;
}

#it-content #back-end {
  background-color: rgba(220, 78, 65, 0.95);
  padding: 10px;
  border-radius: 10px;
  color: white;
  grid-area: b;
  transition: background-image 2s;
}

#it-content #back-end li {
  line-height: 1.5;
}

#it-content #game-dev {
  background-color: rgba(75, 169, 70, 0.95);
  padding: 10px;
  border-radius: 10px;
  color: white;
}

#it-content #game-dev li {
  line-height: 1.5;
}

.profile-content {
  display: flex;
}

.profile-content .profile-table {
  margin-right: 20px;
  border: 2px dashed #fec133;
  text-align: center;
  border-spacing: 5px;
}

.profile-content .profile-table td {
  padding: 4px 10px;
}

.profile-content .profile-table .big-item {
  background-color: skyblue;
  color: white;
}

.profile-content .profile-table .table-item-key {
  background-color: yellowgreen;
  color: white;
}

.profile-content .profile-table .table-item-value {
  background-color: #f6f8fa;
  color: #6c6e7a;
}

.profile-content .profile-text-box {
  flex: 1;
  background: linear-gradient(335.07deg, #636cea 0%, #834cef 40.63%, #771f89 100%);
  padding: 20px;
  border-radius: 10px;
}

.profile-content .profile-text-box .profile-text {
  column-count: 3;
  column-gap: 40px;
  column-rule: 3px outset #6c6e7a;
  column-rule-style: dashed;
}

.profile-content .profile-text-box .profile-text p {
  color: white;
  text-indent: 2em;
  text-align: justify;
  line-height: 1.5;
}

.hobby-info-content {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.hobby-info-content .hobby-card {
  background-color: #ffe3ae;
  border-radius: 10px;
  padding: 10px;
}

.hobby-info-content .hobby-card .hobby-card-title {
  font-weight: bold;
  color: #916f0b;
  margin-bottom: 8px;
  font-size: 18px;
}

.hobby-info-content .hobby-card .hobby-card-content .hobbies {
  display: flex;
}

.hobby-info-content .hobby-card .hobby-card-content .hobbies .hobby-name {
  background-color: #f8f9fa;
  color: #ce8705;
  padding: 5px;
  border-radius: 5px;
  margin-right: 5px;
  font-size: 15px;
}

.hobby-info-content .hobby-card .hobby-card-content .hobbies .hobby-name:hover {
  cursor: default;
  background-color: #dbdbdb;
}

.hobby-info-content .hobby-card .hobby-card-content .hobbies .hobby-name.active {
  background-color: #e0a800;
  color: white;
}

.hobby-info-content .hobby-card .hobby-card-content .hobby-content {
  margin-top: 12px;
  height: 158px;
  overflow-y: auto;
  background-color: #fcf7e8;
  padding: 10px;
  border-radius: 10px;
  color: #ce8705;
}

.hobby-info-content .hobby-card .hobby-card-content .hobby-content p {
  text-align: justify;
  text-indent: 2em;
}

#works {
  grid-column: 1 / 3;
}

#works .work-content {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  padding: 15px;
}

#works .work-content .work-card {
  flex: 1;
}

#works .work-content .work-card img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 1px 5px rgba(27, 31, 35, 0.15), 0 0 1px rgba(106, 115, 125, 0.35);
  border: 2px #f6f8fa solid;
}

#works .work-content .work-card .work-describe {
  text-align: center;
  margin-top: 10px;
}

#works .work-content .work-card .work-describe span {
  background-color: #f6f8fa;
  padding: 5px;
  border-radius: 5px;
  color: #6c6e7a;
}
